package com.gxa.system_setting.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gxa.common.entity.system_settings.SensitiveWords;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface SensitiveWordsMapper extends BaseMapper<SensitiveWords> {
    int updateSensitiveWordsById(SensitiveWords sensitiveWords);

    List<SensitiveWords> selectByConditions(Map map);

    int batchUpdateStatus(@Param("sensitive_word_ids") Long[] sensitive_word_ids,@Param("status") Integer status);

    int batchDelSensitiveWordsList(@Param("sensitive_word_ids") Long[] sensitive_word_ids);
}
